package com.five.common.util;

import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName TokenContainer
 * @Author Administrator
 * @Date 2018/12/31 16:34
 * @Version 1.0
 * @Description
 **/
public class TokenContainer {
    private static TokenContainer tokenContainer=null;
    private TokenContainer(){}
    public static TokenContainer getTokenContainer(){
        if (tokenContainer==null){
            tokenContainer=new TokenContainer();
            return tokenContainer;
        }else {
            return tokenContainer;
        }
    }
    private static Map<String,Object> mapbean;
    public Map<String,Object> getToken(){
        if (mapbean==null){
            mapbean= new HashMap<>();
            return mapbean;
        }else {
            return mapbean;
        }
    }
}
